const router = require('koa-router')()

router.get('/signout', async (ctx, next) => {
    ctx.session = null;
    console.log("登出成功")
    ctx.body = true
    ctx.redirect('/signin')
})

module.exports = router